home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / tbl.man < prev    next >
Encoding:
Text File  |  1989-05-31  |  3.5 KB  |  215 lines

  1.  
  2.  
  3.  
  4. TBL                       User Commands                       TBL
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      tbl - format tables for nroff or troff
  10.  
  11. SSYYNNOOPPSSIISS
  12.      ttbbll [ files ] ...
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      _T_b_l is a preprocessor for formatting tables for _n_r_o_f_f or
  16.      _t_r_o_f_f(1).  The input files are copied to the standard out-
  17.      put, except for lines between .TS and .TE command lines,
  18.      which are assumed to describe tables and reformatted.
  19.      Details are given in the reference manual.
  20.  
  21.      As an example, letting \t represent a tab (which should be
  22.      typed as a genuine tab) the input
  23.  
  24.           .TS
  25.           doublebox;
  26.           c s s
  27.           c c s
  28.           c c c
  29.           l n n.
  30.           Household Population
  31.           Town\tHouseholds
  32.           \tNumber\tSize
  33.           Bedminster\t789\t3.26
  34.           Bernards Twp.\t3087\t3.74
  35.           Bernardsville\t2018\t3.30
  36.           Bound Brook\t3425\t3.04
  37.           Branchburg\t1644\t3.49
  38.           Bridgewater\t7897\t3.81
  39.           Far Hills\t240\t3.19
  40.           .TE
  41.  
  42.      yields
  43.  
  44.  
  45.           ______________________________________________________________
  46.                Household Population
  47.                Town         Households
  48.                            Number   Size
  49.            Bedminster        789    3.26
  50.            Bernards Twp.    3087    3.74
  51.            Bernardsville    2018    3.30
  52.            Bound Brook      3425    3.04
  53.            Branchburg       1644    3.49
  54.            Bridgewater      7897    3.81
  55.            Far Hills         240    3.19
  56.           ______________________________________________________________
  57.  
  58.          |
  59.          |
  60.          |
  61.          |
  62.          |
  63.          |
  64.          |
  65.          |
  66.          |
  67.          |
  68.          |
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.          |
  79.          |
  80.          |
  81.          |
  82.          |
  83.          |
  84.          |
  85.          |
  86.          |
  87.          |
  88.          |
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.                                         |
  99.                                         |
  100.                                         |
  101.                                         |
  102.                                         |
  103.                                         |
  104.                                         |
  105.                                         |
  106.                                         |
  107.                                         |
  108.                                         |
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.                                         |
  119.                                         |
  120.                                         |
  121.                                         |
  122.                                         |
  123.                                         |
  124.                                         |
  125.                                         |
  126.                                         |
  127.                                         |
  128.                                         |
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.      If no arguments are given, _t_b_l reads the standard input, so
  141.      it may be used as a filter.  When it is used with _e_q_n or
  142.  
  143.  
  144.  
  145. Sprite v1.0                                                     1
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152. TBL                       User Commands                       TBL
  153.  
  154.  
  155.  
  156.      _n_e_q_n the _t_b_l command should be first, to minimize the volume
  157.      of data passed through pipes.
  158.  
  159. SSEEEE AALLSSOO
  160.      troff(1), eqn(1)
  161.      M. E. Lesk, _T_B_L.
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211. Sprite v1.0                                                     2
  212.  
  213.  
  214.  
  215.